package cate.game.play.proce.result;

import cate.common.table.d.GDPlay;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("能量槽改变")
public class EnergyChangeResult extends ActionResult<EnergyChangeResult> {

    @NoteField(value = "改变值")
    public double val;

    @NoteField("当前值")
    public double cur;

    public EnergyChangeResult() {
        this.type = GDPlay.ResultType.ENERGY_CHANGE;
    }

    public EnergyChangeResult valSet(double val) {
        this.val = val;
        return this;
    }

    public EnergyChangeResult curSet(double cur) {
        this.cur = cur;
        return this;
    }
}
